combit List & Label 30 - .NET Help
combit.Reporting.DataProviders Namespace / GoogleSpreadsheetsDataProvider Class / GoogleSpreadsheetsDataProvider Constructor / GoogleSpreadsheetsDataProvider Constructor(String,Boolean,ReadOnlyCollection<String>,String,String,String)
See the data provider description.
First row should be used as header (i.e. the contents are used as column names).
The List of spreadsheets  that  should  be provided as tables.

You need to generate the Refresh Token once, for example by using combit Google Token Generator.  This token never expires on its own.

Client ID. Can be found in the Google Developers Console under "Project name" > APIs & Auth > Credentials

Client Secret. Can be found in the Google Developers Console under "Project name" > APIs & Auth > Credentials



GoogleSpreadsheetsDataProvider Constructor(String,Boolean,ReadOnlyCollection<String>,String,String,String)
Use this constructor if the table is not published on the web but shared with specific users only.
Syntax

Parameters

tableId
See the data provider description.
firstRowAreColumnNames
First row should be used as header (i.e. the contents are used as column names).
sheetNames
The List of spreadsheets  that  should  be provided as tables.
refreshToken

You need to generate the Refresh Token once, for example by using combit Google Token Generator.  This token never expires on its own.

clientId

Client ID. Can be found in the Google Developers Console under "Project name" > APIs & Auth > Credentials

clientSecret

Client Secret. Can be found in the Google Developers Console under "Project name" > APIs & Auth > Credentials

Requirements

Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

See Also